<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="导航" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<style type="text/css">
<!--
.style3 {color: #0000CC}
.STYLE1 {
	color: #154F8E;
	font-size: 12px;
}
body {
	background:#EAFAFF;
}
-->
</style>

<script language="javascript">
	function showInBillDialog(){
		var url="/storehouse/InBillNew.ihtm?alert_type=FORM";
		showWin(1024,600,url);
	}
	function showOutBillDialog(){
		var url="/storehouse/OutBillNew.ihtm?alert_type=FORM";
		showWin(1024,600,url);
	}
</script>
</head>
<body oncontextmenu="return false" scroll="no">
<div class="main">
  <div style="height:500px;">
  	  <div class="blank24">&nbsp;</div>	  
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
			  <tr>
			    <td width="100%" colspan="2" align="left" valign="top">
					<table width="80%" height="300" border="0" align="center" cellpadding="0" cellspacing="0">
				      <tr>
				        <th width="4%" height="32" scope="row">&nbsp;</th>
				        <td width="24%" align="center">
				        	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_BILL;')!=-1}">
			                	<a href="javascript:showInBillDialog();"><img src="/images/stock2.gif" border="0" title="用于内部物料的入库登记，如果是需要与供应商结算，则使用采购单入库"></a>
			                </c:if>
							<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';IN_BILL;')==-1}">
			                	<img src="/images/stock2.gif" border="0" title="用于内部物料的入库登记，如果是需要与供应商结算，则使用采购单入库">
			                </c:if>
			            </td>
			            <td width="8%"><img src="/images/bus001.gif" /></td>
				        <td width="24%" align="center">
				        	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';STOC_SEAR;')!=-1}">
				            	<a href="javascript:showWin(900,600,'/storehouse/StockSearch.ihtm');"><img src="/images/stock3.gif" border="0" title="查询当前库存"></a>
				            </c:if>
							<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';STOC_SEAR;')==-1}">
			                	<img src="/images/stock3.gif" border="0" title="查询当前库存">
			                </c:if>
				        </td>
				        <td width="8%"><img src="/images/bus001.gif" /></td>
				        <td width="32%" align="center">
				        	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_BILL;')!=-1}">
				            	<a href="javascript:showOutBillDialog();"><img src="/images/stock1.gif" border="0" title="用于内部物料的出库登记，如果是需要与供应商结算，使用采购退货单"></a>
				            </c:if>
							<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';OUT_BILL;')==-1}">
			                	<img src="/images/stock1.gif" border="0" title="用于内部物料的出库登记，如果是需要与供应商结算，使用采购退货单">
			                </c:if>
			            </td>
				      </tr>
			      </table>
			      
				  <p>&nbsp;</p>
				  <p>&nbsp;</p>
				  
		  		<table width="679" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
				    <tr>
				      <td width="1%" align="left" valign="top"><img src="/images/bus005.gif" width="8" height="19"></td>
				      <td width="98%" height="19" background="/images/bus006.gif">&nbsp;</td>
				      <td width="1%"><img src="/images/bus010.gif" width="8" height="19"></td>
				    </tr>
				    <tr>
	      				<td width="1%" align="left" valign="top" background="/images/bus007.gif">&nbsp;</td>
	      				<td height="21" valign="top" bgcolor="#D2E9F7">
	      					<table width="101%" border="0" cellspacing="0" cellpadding="0">
					          <tr>
					            <th width="5%" height="21" scope="row">&nbsp;</th>
					            <th width="3%" scope="row"><div align="left"><img src="/images/ico-setup.gif" title=""></div></th>
					            <td width="13%">
					            	<span class="STYLE1">
									<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_STOR;')!=-1}"><a href="javascript:showWin(600,500,'/base/StorehouseList.ihtm');">仓库</a></c:if>	
									<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BASE_STOR;')==-1}">仓库</c:if>						            													
									</span>
					            </td>
					            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
					            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
					            <td width="15%">
					            	<span class="STYLE1">
					            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_PROD;')!=-1}"><a href="javascript:showWin(900,640,'/base/ProductMain.ihtm');">材料</a></c:if>
					            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BASE_PROD;')==-1}">材料</c:if>
					            	</span>
					            </td>
					            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
					            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
					            <td width="15%">
					            	<span class="STYLE1">
					            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';BASE_UNIT;')!=-1}"><a href="javascript:showWin(400,300,'/base/UnitList.ihtm');">计量单位</a></c:if>
					            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';BASE_UNIT;')==-1}">计量单位</c:if>
					            	</span>
					            </td>
					            <td width="2%"><img src="/images/a38.gif" title="" width="13" height="10"></td>
					            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
					            <td width="15%">
					            	<span class="STYLE1">
					            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';IN_TYPE;')!=-1}"><a href="javascript:showWin(600,500,'/base/InTypeList.ihtm');">入库类型</a></c:if>
					            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';IN_TYPE;')==-1}">入库类型</c:if>
					            	</span>
					            </td>
					            <td width="2%"><img src="/images/a38.gif" width="13" height="10"></td>
					            <td width="3%"><img src="/images/ico-setup.gif" title="" align="right"></td>
					            <td width="12%">
					            	<span class="STYLE1">
					            	<c:if test="${currentUser.user.userType==1 || fn:indexOf(currentUser.privs,';OUT_TYPE;')!=-1}"><a href="javascript:showWin(600,500,'/base/OutTypeList.ihtm');">出库类型</a></c:if>
					            	<c:if test="${currentUser.user.userType!=1 && fn:indexOf(currentUser.privs,';OUT_TYPE;')==-1}">出库类型</c:if>
					            	</span>
					            </td>
					            <td width="1%">&nbsp;</td>
					          </tr>
	      					</table>
	      				</td>
	      				<td valign="bottom" background="/images/bus011.gif">&nbsp;</td>
	    			</tr>
				    <tr>
				      <td width="1%" align="left" valign="bottom"><img src="/images/bus008.gif" width="8" height="19"></td>
				      <td height="19" align="left" valign="bottom" background="/images/bus009.gif">&nbsp;</td>
				      <td valign="bottom"><img src="/images/bus012.gif" width="8" height="19"></td>
				    </tr>
	  			</table>
	  		</td>
		</tr>
	</table>
</div>
</div>
</body>
</html>